export class TurboperHistory {
  /**
   * Creates an instance of TurboperHistory.
   * @param {number} operHistoryId 历史操作ID
   * @param {string} operGuid 操作唯一ID
   * @param {number} deviceId 风机ID
   * @param {number} operCategoryId 操作类别ID
   * @param {number} turbComponentId 故障类别ID
   * @param {string} operStartTime 操作开始时间
   * @param {string} operEndTime 操作结束时间
   * @param {string} operPlanEndTime 操作计划结束时间
   * @param {number} stopTime 停机时间
   * @param {number} lossPower 耗失电量(单位kWh)
   * @param {string} operDesc 操作描述
   * @param {number} userId 用户ID
   * @param {string} operClinet 操作客户端名称
   * @param {string} operIp 操作客户端IP
   * @param {string} operProcess 操作过程
   * @param {string} operAnalysis 原因分析
   * @memberof TurboperCurrent
   */
  constructor(
    public operHistoryId: number,
    public operguId: string,
    public deviceId: number,
    public operCategoryId: number,
    public userId: number,
    public operClinet: string,
    public operIp: string,
    public operStartTime: string,
    public operEndTime: string,
    public stopTime?: number,
    public lossPower?: number,
    public turbComponentId?: number,
    public operPlanEndTime?: string,
    public operCategoryColor?: string,
    public operCategoryIcon?: string,
    public operCategoryName?: string,
    public operAnalysis?: string,
    public operProcess?: string,
    public generalCategory?: string,
    public operDesc?: string,
    public userName?: string,
    public deviceName?: string,
    public farmName?: string,
    public turbComponentName?: string) {
    Object.defineProperty(this, 'operCategoryColor', {enumerable: false});
    Object.defineProperty(this, 'operCategoryIcon', {enumerable: false});
    Object.defineProperty(this, 'operCategoryName', {enumerable: false});
    Object.defineProperty(this, 'userName', {enumerable: false});
    Object.defineProperty(this, 'turbComponentName', {enumerable: false});
    Object.defineProperty(this, 'farmName', {enumerable: false});
    Object.defineProperty(this, 'turbineName', {enumerable: false});
  }
}
